home *** CD-ROM | disk | FTP | other *** search
- <?xml version='1.0' encoding='EUC-KR' ?>
- <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
- <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
- <!-- English Revision: 1.1.2.4 -->
-
- <!--
- Copyright 2004 The Apache Software Foundation
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
- <manualpage metafile="ab.xml.meta">
- <parentdocument href="./">Programs</parentdocument>
-
- <title>ab - ╛╞╞──í └Ñ╝¡╣÷ ╝║┤╔░╦╗τ ╡╡▒╕</title>
-
- <summary>
- <p><code>ab</code>┤┬ ╛╞╞──í ╟╧└╠╞█┼╪╜║╞« └ⁿ╝█ ╟┴╖╬┼Σ─▌ (HTTP)
- ╝¡╣÷└╟ ╝║┤╔└╗ ░╦╗τ╟╧┤┬(benchmarking) ╡╡▒╕└╠┤┘. ╟÷└τ ╛╞╞──í░í
- ╛ε╢╗░╘ ╡┐└█╟╧┤┬┴÷ ╛╦╖┴┴╪┤┘. ╞»╚≈ ╛╞╞──í░í ╟÷└τ ├╩┤τ ╕ε░│└╟
- ┐Σ├╗└╗ ╝¡║±╜║╟╧┤┬┴÷ ╛╦╖┴┴╪┤┘.</p>
- </summary>
- <seealso><a href="httpd.html">httpd</a></seealso>
-
- <section id="synopsis"><title>░│┐Σ</title>
- <p><code><strong>ab</strong>
- [ -<strong>A</strong> <var>auth-username</var>:<var>password</var> ]
- [ -<strong>c</strong> <var>concurrency</var> ]
- [ -<strong>C</strong> <var>cookie-name</var>=<var>value</var> ]
- [ -<strong>d</strong> ]
- [ -<strong>e</strong> <var>csv-file</var> ]
- [ -<strong>g</strong> <var>gnuplot-file</var> ]
- [ -<strong>h</strong> ]
- [ -<strong>H</strong> <var>custom-header</var> ]
- [ -<strong>i</strong> ]
- [ -<strong>k</strong> ]
- [ -<strong>n</strong> <var>requests</var> ]
- [ -<strong>p</strong> <var>POST-file</var> ]
- [ -<strong>P</strong> <var>proxy-auth-username</var>:<var>password</var> ]
- [ -<strong>q</strong> ]
- [ -<strong>s</strong> ]
- [ -<strong>S</strong> ]
- [ -<strong>t</strong> <var>timelimit</var> ]
- [ -<strong>T</strong> <var>content-type</var> ]
- [ -<strong>v</strong> <var>verbosity</var>]
- [ -<strong>V</strong> ]
- [ -<strong>w</strong> ]
- [ -<strong>x</strong> <var><table>-attributes</var> ]
- [ -<strong>X</strong> <var>proxy</var>[:<var>port</var>] ]
- [ -<strong>y</strong> <var><tr>-attributes</var> ]
- [ -<strong>z</strong> <var><td>-attributes</var> ]
- [http://]<var>hostname</var>[:<var>port</var>]/<var>path</var></code></p>
- </section>
-
- <section id="options"><title>┐╔╝╟</title>
- <dl>
- <dt><code>-A <var>auth-username</var>:<var>password</var></code></dt>
- <dd>╝¡╣÷┐í░╘ BASIC Authentication ┴ñ║╕╕ª ┴ª░°╟╤┤┘.
- <code>:</code>└╕╖╬ ▒╕║╨╟╤ ╗τ┐δ└┌╕φ░· ╛╧╚ú╕ª base64 └╬─┌╡∙╟╧┐⌐
- └ⁿ╝█╟╤┤┘. ╝¡╣÷░í ┴ñ║╕╕ª ┐Σ▒╕╟╧┤┬┴÷ (<em>┐╣╕ª ╡Θ╛ε</em>,
- 401 └╬┴⌡ ╟╩┐Σ╕ª ║╕│╗┤┬┴÷) ░ⁿ░Φ╛°└╠ ╣«└┌┐¡└╗ └ⁿ╝█╟╤┤┘.</dd>
-
- <dt><code>-c <var>concurrency</var></code></dt>
- <dd>╡┐╜├┐í ┐Σ├╗╟╧┤┬ ┐Σ├╗╝÷. ▒Γ║╗└√└╕╖╬ ╟╤╣°┐í ╟╤ ┐Σ├╗╕╕└╗
- ║╕│╜┤┘.</dd>
-
- <dt><code>-C <var>cookie-name</var>=<var>value</var></code></dt>
- <dd>┐Σ├╗┐í <code>Cookie:</code> ╟∞┤⌡╕ª ├▀░í╟╤┤┘. ╛╞▒╘╕╒╞«┤┬
- ║╕┼δ <code><var>name</var>=<var>value</var></code>┐═ ░░└║
- ╜╓└╠┤┘. └╠ ┐╔╝╟└║ ┐⌐╖»╣° ╗τ┐δ╟╥ ╝÷ └╓┤┘.</dd>
-
- <dt><code>-d</code></dt>
- <dd>"percentage served within XX [ms] table"└╗ ├Γ╖┬╟╧┴÷
- ╛╩┤┬┤┘. (╚ú╚»╝║└╗ └º╟╪).</dd>
-
- <dt><code>-e <var>csv-file</var></code></dt>
- <dd>┐Σ├╗└╗ ├│╕«╟╧┤┬╡Ñ ░╔╕░ (╣╨╕«├╩ ┤▄└º) ╜├░ú╡Θ└╟ (1%┐í╝¡
- 100%) ┤⌐└√╣Θ║╨└▓└╗ ╜░╟Ñ╖╬ ▒╕║╨╟╤ ╟ⁿ╜─(CSV)└╕╖╬ ├Γ╖┬╟╤┤┘.
- ░ß░·╕ª └╠╣╠ '┴ñ╕«'╟╧┐┤▒Γ╢º╣«┐í 'gnuplot' ╞─└╧║╕┤┘ ║╕┼δ ┤⌡
- └»┐δ╟╧┤┘.</dd>
-
- <dt><code>-g <var>gnuplot-file</var></code></dt>
- <dd>├°┴ñ╟╤ ╕≡╡τ ░¬└╗ 'gnuplot' ╚ñ└║ TSV (Tab separate values,
- ┼╟└╕╖╬ ▒╕║╨╟╤ ░¬) ╞─└╧┐í ▒Γ╖╧╟╤┤┘. Gnuplot, IDL, Mathematica,
- Igor, ╜╔┴÷╛ε Excell ░░└║ ╟┴╖╬▒╫╖Ñ┐í╝¡╡╡ └╠╖▒ ╞─└╧└╗ ╜▒░╘
- └╨└╗ ╝÷ └╓┤┘. ╞─└╧└╟ ├╣╣°┬░ ┴┘┐í ╟╫╕±└╠╕º└╠ │¬┐┬┤┘. </dd>
-
- <dt><code>-h</code></dt>
- <dd>╗τ┐δ╣²└╗ ├Γ╖┬╟╤┤┘.</dd>
-
- <dt><code>-H <var>custom-header</var></code></dt>
- <dd>┐Σ├╗┐í ╟∞┤⌡╕ª ├▀░í╟╤┤┘. ╛╞▒╘╕╒╞«┤┬ ║╕┼δ ─▌╖╨└╕╖╬ ▒╕║╨╟╤
- ╜╓└╬ (<em>┐╣╕ª ╡Θ╛ε</em>,
- <code>"Accept-Encoding: zip/zop;8bit"</code>) └»╚┐╟╤
- ╟∞┤⌡┴┘└╠┤┘.</dd>
-
- <dt><code>-i</code></dt>
- <dd><code>GET</code> ┤δ╜┼ <code>HEAD</code> ┐Σ├╗└╗ ╟╤┤┘.</dd>
-
- <dt><code>-k</code></dt>
- <dd>HTTP KeepAlive ▒Γ┤╔└╗ ╗τ┐δ╟╤┤┘. <em>┐╣╕ª ╡Θ╛ε</em>,
- ╟╤ HTTP ╝╝╝╟┐í╝¡ ┐⌐╖» ┐Σ├╗└╗ ╟╤┤┘. ▒Γ║╗└√└╕╖╬ KeepAlive╕ª
- ╗τ┐δ╟╧┴÷ ╛╩┤┬┤┘.</dd>
-
- <dt><code>-n <var>requests</var></code></dt>
- <dd>╝║┤╔└╗ ░╦╗τ╟╧▒Γ└º╟╪ ║╕│╗┤┬ ┐Σ├╗╝÷. ▒Γ║╗░¬└╕╖╬ ┐Σ├╗└╗
- ╟╤╣°╕╕ ║╕│╗▒Γ╢º╣«┐í └╧╣▌└√└╬ ╝║┤╔░╦╗τ ░ß░·╕ª ╛≥└╗ ╝÷ ╛°┤┘.</dd>
-
- <dt><code>-p <var>POST-file</var></code></dt>
- <dd>POST └┌╖ß ╞─└╧.</dd>
-
- <dt><code>-P <var>proxy-auth-username</var>:<var>password</var></code></dt>
- <dd>╟┴╖╧╜├╕ª ┼δ╟╪ BASIC Authentication ┴ñ║╕╕ª ┴ª░°╟╤┤┘.
- <code>:</code>╖╬ ▒╕║╨╟╤ ╗τ┐δ└┌╕φ░· ╛╧╚ú╕ª base64 └╬─┌╡∙╟╧┐⌐
- └ⁿ╝█╟╤┤┘. ╟┴╖╧╜├░í ┴ñ║╕╕ª ┐Σ▒╕╟╧┤┬┴÷ (<em>┐╣╕ª ╡Θ╛ε</em>,
- 401 └╬┴⌡ ╟╩┐Σ╕ª ║╕│╗┤┬┴÷) ░ⁿ░Φ╛°└╠ ╣«└┌┐¡└╗ └ⁿ╝█╟╤┤┘.</dd>
-
- <dt><code>-q</code></dt>
- <dd>150░│ └╠╗≤ ┐Σ├╗└╗ ║╕│╛╢º <code>ab</code>┤┬ 10% ╚ñ└║
- ╕┼ 100 ┐Σ├╗┤τ <code>╟Ñ┴╪┐└╖∙</code>┐í ┴°╟α╗≤╚▓└╗ ├Γ╖┬╟╤┤┘.
- <code>-q</code> ┐╔╝╟└║ └╠ ╣«▒╕╕ª ├Γ╖┬╟╧┴÷ ╛╩┤┬┤┘.</dd>
-
- <dt><code>-s</code></dt>
- <dd>▒Γ┤╔└╗ ├▀░í╟╧┐⌐ ──╞─└╧╟╧┐┤┤┘╕Θ (<code>ab -h</code>╖╬
- ╚«└╬╟╥ ╝÷ └╓┤┘) <code>http</code> ╟┴╖╬┼Σ─▌ ┤δ╜┼ SSL└╗ ╗τ┐δ╟╤
- <code>https</code> ╟┴╖╬┼Σ─▌└╗ ╗τ┐δ╟╤┤┘. └╠ ▒Γ┤╔└║ ╜╟╟Φ└√└╠░φ
- <em>╕┼┐∞</em> ▒Γ├╩└√└╠┤┘. ╛╞╕╢╡╡ ╗τ┐δ└╗ ▓¿╖┴╟╥ ░═└╠┤┘.</dd>
-
- <dt><code>-S</code></dt>
- <dd>┴▀░ú░¬░· ╟Ñ┴╪╞φ┬≈╕ª ├Γ╖┬╟╧┴÷ ╛╩░φ, ╞≥▒╒░· ┴▀░ú░¬└╟ ┬≈└╠░í
- ╟Ñ┴╪╞φ┬≈║╕┤┘ ┼⌐┤⌡╢≤╡╡ ░µ░φ/┐└╖∙╕ª ├Γ╖┬╟╧┴÷ ╛╩┤┬┤┘.
- ├╓╝╥/╞≥▒╒/├╓┤δ ░¬└╗ ├Γ╖┬╟╤┤┘. (╚ú╚»╝║└╗ └º╟╪).</dd>
-
- <dt><code>-t <var>timelimit</var></code></dt>
- <dd>╝║┤╔└╗ ░╦╗τ╟╧┤┬ ├╓┤δ ├╩┤▄└º ╜├░ú. │╗║╬└√└╕╖╬
- <code>-n 50000</code>└╗ ░í┴ñ╟╤┤┘. ┴ñ╟╪┴° ╜├░ú╡┐╛╚ ╝¡╣÷ ╝║┤╔└╗
- ░╦╗τ╟╥╢º ╗τ┐δ╟╤┤┘. ▒Γ║╗└√└╕╖╬ ╜├░ú┴ª╟╤ ╛°└╠ ░╦╗τ╟╤┤┘.</dd>
-
- <dt><code>-T <var>content-type</var></code></dt>
- <dd>POST └┌╖ß└╟ Content-type ╟∞┤⌡.</dd>
-
- <dt><code>-v <var>verbosity</var></code></dt>
- <dd>├Γ╖┬└╟ └┌╝╝╟╘ ╝÷┴╪└╗ ┴÷┴ñ╟╤┤┘. <code>4</code> └╠╗≤└╠╕Θ
- ╟∞┤⌡┐í ┤δ╟╤ ┴ñ║╕╕ª, <code>3</code> └╠╗≤└╠╕Θ (404, 202, ╡ε)
- └└┤Σ─┌╡σ╕ª, <code>2</code> └╠╗≤└╠╕Θ ░µ░φ(warning)┐═
- ┴ñ║╕(info)╕ª ├Γ╖┬╟╤┤┘.</dd>
-
- <dt><code>-V</code></dt>
- <dd>╣÷└ⁿ└╗ ├Γ╖┬╟╧░φ ┴╛╖ß╟╤┤┘.</dd>
-
- <dt><code>-w</code></dt>
- <dd>░ß░·╕ª HTML ╟Ñ╖╬ ├Γ╖┬╟╤┤┘. ▒Γ║╗└√└╕╖╬ ╟Ñ╕ª ╚≥ ╣Φ░µ┐í
- ╡╬ ┐¡╖╬ └█╝║╟╤┤┘.</dd>
-
- <dt><code>-x <var><table>-attributes</var></code></dt>
- <dd><code><table></code>└╟ ╝╙╝║└╕╖╬ ╗τ┐δ╟╥ ╣«└┌┐¡.
- ╝╙╝║└╗ <code><table <var>┐⌐▒Γ┐í</var> ></code>
- ├▀░í╟╤┤┘.</dd>
-
- <dt><code>-X <var>proxy</var>[:<var>port</var>]</code></dt>
- <dd>╟┴╖╧╜├ ╝¡╣÷╕ª ╗τ┐δ╟╧┐⌐ ┐Σ├╗╟╤┤┘.</dd>
-
- <dt><code>-y <var><tr>-attributes</var></code></dt>
- <dd><code><tr></code>└╟ ╝╙╝║└╕╖╬ ╗τ┐δ╟╥ ╣«└┌┐¡.</dd>
-
- <dt><code>-z <var><td>-attributes</var></code></dt>
- <dd><code><td></code>└╟ ╝╙╝║└╕╖╬ ╗τ┐δ╟╥ ╣«└┌┐¡.</dd>
- </dl>
- </section>
-
- <section id="bugs"><title>╣÷▒╫</title>
- <p>┴ñ└√└╕╖╬ ▒µ└╠░í ░φ┴ñ╡╚ ╣÷╞█╕ª ╕╣└╠ ╗τ┐δ╟╤┤┘. ╕φ╖╔╟α
- ╛╞▒╘╕╒╞«, ╝¡╣÷└╟ └└┤Σ ╟∞┤⌡, ┤┘╕Ñ ┐▄║╬ └╘╖┬╡Θ└╗ ░░└╠
- └╨╛ε╡Θ└╠╕Θ╝¡ ╣«┴ª░í ╣▀╗²╟╥ ╝÷ └╓┤┘.</p>
-
- <p>└╠ ╟┴╖╬▒╫╖Ñ└║ HTTP/1.x╕ª ┐╧└ⁿ╚≈ ▒╕╟÷╟╧┴÷ ╛╩┤┬┤┘; ┤▄┴÷
- '▒Γ┤δ╟╧┤┬' ╟ⁿ╜─└╟ └└┤Σ╕╕└╗ ╣▐┤┬┤┘. <code>strstr(3)</code>└╗
- ╕┼┐∞ ╕╣└╠ ╗τ┐δ▒Γ╢º╣«┐í ╝╙╡╡░í ╣«┴ª░í ╡╔ ╝÷ └╓┤┘; <em>┴∩</em>,
- ╝¡╣÷ ╝║┤╔║╕┤┘┤┬ <code>ab</code> ╝║┤╔└╗ ├°┴ñ╟╧░╘ ╡╔ ╝÷╡╡
- └╓┤┘.</p>
- </section>
-
- </manualpage>
-